#include <math.h>

double ceil(double x)
{
	double result;
	__asm__ __volatile__(
		"fceil.d %0, %1\n\t"
		: "=f"(result)
		: "f"(x)
	);
	return result;
}